package cn.com.bluemoon.daps.system.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class DapSystemTagGroup extends BaseModel<DapSystemTagGroup> {

    @ApiModelProperty(value = "标签分组名称，目前设定不超过50个字符")
    @NotNull(message = "标签分组名称不能为空")
    @Size(max = 12, message = "标签分组名长度不允许超过12")
    private String tagGroupName;
}
